package com.example.demo.service;

import com.example.demo.model.dto.LoginDTO;
import com.example.demo.model.dto.RegisterDTO;
import com.example.demo.model.entity.user.User;

public interface AuthService {
    User authenticateUser(LoginDTO loginDTO);
    User registerUser(RegisterDTO registerDTO);
    String refreshAccessToken(String refreshToken);
    User getCurrentUser(String username);
    User registerTeacher(RegisterDTO registerDTO);
    User registerStudent(RegisterDTO registerDTO, Long teacherId);
    User getCurrentUserFromToken(String jwt);
}